﻿
@{
    ViewBag.Title = "YouView";
}

<div>
    <h2>YouView</h2>
    @{
        WebApplication1.Models.Employee emp = (WebApplication1.Models.Employee)
            ViewData["Employee"];
    }
    <b>Employee Details </b><br />
    Employee Name : @emp.FirstName@emp.LastName <br />
    Employee Salary: @emp.Salary.ToString("C")

</div>